package com.newsmanagement.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author xbr
 *
 * 用户和新闻分类关系表
 */
public class EumNewscategoryEntity {

    //主键
    //EUM_NEWSCATEGORY_ID
    private Integer eumNewscategoryId;

    //用户id
    //EUM_ID
    private Integer eumId;

    //新闻分类id
    //CATEGORY_ID
    private Integer categoryId;

    //是否喜欢：1，喜欢；0，不喜欢;-1,不喜欢不讨厌
    //LIKE_CATEGORY
    private Integer likeCategory;

    //是否删除：0:已删除，1：未删除;默认1未删除
    private Integer deleteFlag;

    public EumNewscategoryEntity() {
    }

    public EumNewscategoryEntity(Integer eumNewscategoryId, Integer eumId, Integer categoryId, Integer likeCategory, Integer deleteFlag) {
        this.eumNewscategoryId = eumNewscategoryId;
        this.eumId = eumId;
        this.categoryId = categoryId;
        this.likeCategory = likeCategory;
        this.deleteFlag = deleteFlag;
    }

    public Integer getEumNewscategoryId() {
        return eumNewscategoryId;
    }

    public void setEumNewscategoryId(Integer eumNewscategoryId) {
        this.eumNewscategoryId = eumNewscategoryId;
    }

    public Integer getEumId() {
        return eumId;
    }

    public void setEumId(Integer eumId) {
        this.eumId = eumId;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getLikeCategory() {
        return likeCategory;
    }

    public void setLikeCategory(Integer likeCategory) {
        this.likeCategory = likeCategory;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
}

